package ext.acae2.statements.bean;

import java.util.List;

import ext.acae2.util.IBAUtil;

@SuppressWarnings("rawtypes")
public class StructuralDetailBean implements Comparable {

	private String seq;
	private String number;
	private String name;
	private String version;
	private String state;
	private String quantity;
	private IBAUtil iba;
	private List<StructuralDetailBean> structuralDetailList;

	public String getSeq() {
		return seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}
	
	public IBAUtil getIba() {
		return iba;
	}

	public void setIba(IBAUtil iba) {
		this.iba = iba;
	}
	
	public List<StructuralDetailBean> getStructuralDetailList() {
		return structuralDetailList;
	}

	public void setStructuralDetailList(
			List<StructuralDetailBean> structuralDetailList) {
		this.structuralDetailList = structuralDetailList;
	}
	
	@Override
	public int compareTo(Object arg0) {
		return this.getNumber().compareTo(((StructuralDetailBean) arg0).getNumber());
	}

}
